public class Test {

        public static void main(String[] args) {
            int a = 10;
            int b = a * (3 + 5);
            System.out.println(b);
        }

        public static void main19(String[] args) {
            int a = 10;
            int b = 20;
            int max = a > b ? a : b;
            System.out.println(max);


            max = a > b ? a : b;


            max = a;
            max = b;
        }




    public static void main18(String[] args) {
      /*  int a = 10;
        int b = 20;
        // 注意：在Java中 = 表示赋值，要与数学中的含义区分
        //      在Java中 == 表示相等
        System.out.println(a == b);       // false
        System.out.println(a != b);       // true
        System.out.println(a < b);        // true
        System.out.println(a > b);        // false
        System.out.println(a <= b);       // true
        System.out.println(a >= b);       // false
*/

        //System.out.println(!true);
        //System.out.println(!false);

        System.out.println(100 > 20 & 5 > 3);

        //System.out.println(10 < 20 | 10 / 0 == 0);
    }



    public static void main17(String[] args) {
        int a = 10;
        //int b = ++a;
        int b = a++;
        System.out.println(a);
        System.out.println(b);


    }


    public static void main16(String[] args) {
        int a = 1;
        a +=1.5;
        //a = (int)(a + 1.5);
        System.out.println(a);
    }

    public static void main13(String[] args) {
        String str = "123";
        int a = Integer.parseInt(str);
        System.out.println(a);
        long d = Long.parseLong(str);
        System.out.println(d);
    }

    public static void main12(String[] args) {
        int num = 10;
        String s1 = num +"";
        System.out.println(s1);

        String s2 = String.valueOf(num);
        System.out.println(s2);
    }




    public static void main11(String[] args) {
        int a= 10;
        System.out.println("a =" + a);
        int b = 20;
        System.out.println("b = " + b);

        System.out.println("a + b =" + (a + b));

        System.out.println("a + b =" + a + b);

        System.out.println(a + b+"a + b =");
    }
    public static void main10(String[] args) {
        String str = "hello";
        System.out.println(str);
        String str2 = "world";
        String str3 = str + str2;
        System.out.println(str3);
    }
    public static void main9(String[] args) {
        /*int a = 10;
        long b = 20;
        long c = a + b;
        long d = a + b;
         */
        byte a = 10;
        byte b = 20;
        int c = a + b;
        byte d = (byte)(a + b);
        System.out.println(c);
    }


    public static void main8(String[] args) {
       // int a = 10;
        //long b = a;

        long a = 10L;
        int b = (int)a;
    }



    public static void main7(String[] args) {
        boolean flg = false;
        System.out.println(flg);
    }
    public static void main6(String[] args) {
        char ch = 'A';
        char ch2 = '中';
        System.out.println(ch);
        System.out.println(ch2);

        System.out.println(Character.MAX_VALUE);
        System.out.println(Character.MAX_VALUE);
    }

    public static void main5(String[] args) {
        float f = 12.5f;
        System.out.println(f);
        System.out.println(Float.MAX_VALUE);
        System.out.println(Float.MIN_VALUE);
    }


    public static void main4(String[] args) {
        double d = 12.5;
        System.out.println(d);

        System.out.println(Double.MAX_VALUE);
        System.out.println(Double.MIN_VALUE);
        System.out.println("=============");

        double a = 1.0;
        double b = 2.0;
        System.out.println(a/b);
        System.out.println("=============");
        double num = 1.1;
        System.out.println(num * num);
    }



    public static void main3(String[] args) {
        byte a = 10;
        System.out.println(a);

        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
    }


    public static void main2(String[] args) {
        short a = 9;
        System.out.println(a);

        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);

    }




    public static void main1(String[] args) {
        long d = 10L;
        System.out.println(d);

        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);


    }
}
